package com.lj.frame.file.repo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lj.frame.file.entity.UploadFile;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface UploadFileMapper extends BaseMapper<UploadFile> {

    @Select("select * from upload_file where md5=#{md5} limit 0, 1")
    UploadFile findByMd5(@Param("md5")String md5);
}
